###############################################################################
#
# $Id: GNUmakefile,v 1.5 2007/08/08 23:14:35 stuart_hc Exp $
#
# The contents of this file are subject to the AAF SDK Public
# Source License Agreement (the "License"); You may not use this file
# except in compliance with the License.  The License is available in
# AAFSDKPSL.TXT, or you may obtain a copy of the License from the AAF
# Association or its successor.
# 
# Software distributed under the License is distributed on an "AS IS"
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.  See
# the License for the specific language governing rights and limitations
# under the License.
# 
# The Original Code of this file is Copyright 1998-2001, Licensor of the
# AAF Association.
# 
# The Initial Developer of the Original Code of this file and the
# Licensor of the AAF Association is Avid Technology.
# All rights reserved.
#
###############################################################################


EXAMPLE = ExportDV

include ../comexamplerules.mk

TEST_CMD = $(APP_RUN_ENV) $(AAFSDKBINDIR)/ExportDV$(EXE)
.PHONY : check
check : $(AAFSDKBINDIR)/ExportDV$(EXE)
	# Only run libdv compression tests if libdv available
ifdef LIBDV_PATH
	$(TEST_CMD)
	$(TEST_CMD) -o ExportDV.mxf -mxf
	$(TEST_CMD) -o ExportDV_legacyDV.aaf -legacyDV
	$(TEST_CMD) -o ExportDV_DVBased.aaf -DVBased
endif
	# Always run test using DV-compressed frame
	$(TEST_CMD) -o ExportDV_NoCompression.aaf -rawDV ../../../test/com/ScaleTest/1frame.dv
